package com.zhiyou.mall.model;

import java.util.Date;

public class Collection {
    private Integer id;

    private Integer userId;

    private Integer goodsId;

    private Double price;

    private Date insertTime;

    private String insertstr;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Date getInsertTime() {
        return insertTime;
    }

    public void setInsertTime(Date insertTime) {
        this.insertTime = insertTime;
    }

    public String getInsertstr() {
        return insertstr;
    }

    public void setInsertstr(String insertstr) {
        this.insertstr = insertstr == null ? null : insertstr.trim();
    }
}